<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
    <xsl:param name="DOTNET2"/>
    
    
	<xsl:template match="Class"><xsl:variable name="Name" select="Name"/>&lt;?php

// GENNIT CakePHP Project http://www.gennit.com
//
// Project: <xsl:value-of select="HeaderInfo/ProjectName"/>
//
// **************************************************************
// IMPORTANT BIT:
//
// This source code is is owned by you. No copyright is held by
// GENNIT. However, please note the disclaimer below
// **************************************************************
//
// GENNIT refers to the GENNIT website and anyone affiliated
// with the GENNIT system. Including but not limited to
// the administrator and service provider.
//
// Unless agreed to in writing, source code is distributed on an 
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
// either express or implied. GENNIT are not responsible for 
// your use/misuse of this code.

// When you use GENNIT code, you do so at your own risk and 
// GENNIT is not responsible for the accuracy, 
// reliability or functionality of the code. GENNIT expressly 
// disclaims any potential liability associated with use of 
// this generated code.


class <xsl:value-of select="Name"/>sController extends AppController
{
	var $scaffold;
	
	// An example action that returns a list of all <xsl:value-of select="Name"/>s
	// Access this action at http://[yourcakelocation]/<xsl:value-of select="Name"/>s/get<xsl:value-of select="Name"/>List
	function get<xsl:value-of select="Name"/>List ( )
	{
		$this-&gt;set ( 'store' , $this-&gt;<xsl:value-of select="Name"/>->findAll ( ) );
	}

}

?&gt;</xsl:template>
    
    
    
    
    
    
</xsl:stylesheet>